//
// Created on 2025/7/28.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef OPENGL_EXCEPTION_H
#define OPENGL_EXCEPTION_H

#include <stdexcept>

// 自定义异常类型，区分格式不支持的错误
class UnsupportedFormatException : public std::runtime_error {
public:
    explicit UnsupportedFormatException(const std::string &msg) : std::runtime_error(msg) {}
};
#endif // OPENGL_EXCEPTION_H
